package com.qigao.mall.jdbc.mapper;

import com.qigao.mall.jdbc.model.SysCompanyUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysCompanyUserMapper extends AbstractSysCompanyUserMapper {

    SysCompanyUser selectByUniIndex(@Param("compNo") String compNo, @Param("userNo") String userNo,@Param("roleCode")  String roleCode);

    List<SysCompanyUser> selectByUserNoAndRoleCode( @Param("userNo") String userNo,@Param("roleCode")  String roleCode);

    List<SysCompanyUser> selectAll();
}